from django.urls import path
from .views import *
urlpatterns = [
    path(".html", shopperView, name="shopper"),
    path("/login.html", loginView, name="login"),
    path("/logout.html", logoutView, name="logout"),
    path("/shopcart.html", shopcartView, name="shopcart"),
    path('/test', test_view, name='test'),
# 删除商品API路由
    path('/delete.html', deleteAPI, name='delete'),
# 支付页面路由
    path('/pays.html', paysView, name='pays'),
    path('/pay_callback/', payCallbackView, name='pay_callback'),

]